package com.ohuang.util_h.replaceActivity;

  class BRActivityThreadH {
    public static int EXECUTE_TRANSACTION() {
        Object obj = RefInvoke.getStaticFieldOjbect("android.app.ActivityThread$H", "EXECUTE_TRANSACTION");
        if(obj==null){
            return -1;
        }
        return (int) obj;
    }

      public static boolean EXECUTE_TRANSACTION(int  what) {
          return what == EXECUTE_TRANSACTION()&&EXECUTE_TRANSACTION()!=-1;
      }
    public static int LAUNCH_ACTIVITY() {
        Object obj = RefInvoke.getStaticFieldOjbect("android.app.ActivityThread$H", "LAUNCH_ACTIVITY");
        if(obj==null){
            return -1;
        }
        return (int) obj;
    }

      public static boolean LAUNCH_ACTIVITY(int  what) {
          return what == LAUNCH_ACTIVITY()&&LAUNCH_ACTIVITY()!=-1;
      }

}